Skip to content

Conversation

@bryankeller
Copy link
Contributor

Details

This PR fixes an issue with target content offset calculations that causes scrolling to be jumpy when scrolling up. I originally broke this here.

The fix is to base our target content offset calculation on already-sized cells, never a cell that's about to be self-sized.

Types of changes

  • Docs change / refactoring / dependency upgrade
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

@bryankeller bryankeller changed the title Inset bounds when calculating target content offset Fix jumpy scrolling due to incorrect target content offset calculation Jul 14, 2025
@bryankeller bryankeller requested a review from brynbodayle July 14, 2025 20:57
@bryankeller bryankeller added the bug Something isn't working label Jul 14, 2025
@bryankeller bryankeller merged commit 67e1d38 into master Jul 14, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants